package com.hdax.dmw.order.service;

import com.hdax.dmw.dtos.order.TicketBuyerDto;
import com.hdax.dmw.entity.order.DmOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dmw.order.vo.SubmitOrderVo;
import com.hdax.dmw.utils.Result;

import java.util.List;

/**
* @author guoyisha
* @description 针对表【dm_order(订单表)】的数据库操作Service
* @createDate 2023-06-15 12:14:14
*/
public interface DmOrderService extends IService<DmOrder> {

    DmOrder detail(String orderNo);

    Result<List<TicketBuyerDto>> ticketBuyers(Long userId);

    Result<String> submitOrder(SubmitOrderVo vo, String token);
}
